home *** CD-ROM | disk | FTP | other *** search
/ Day Cry / Day Cry CD.bin / oh_towns / ein / sources / einlib.lzh / LIBSRC.LZH / EIN_MEM.C < prev    next >
C/C++ Source or Header  |  1994-07-18  |  1KB  |  65 lines

  1. /*<Header>==============================================================
  2. *
  3. *    MEMORY / "EIN_MEM.C"
  4. *
  5. *        [ EIN(tm) project : âüâéâèè╓ÿAòΓÅòè╓ÉöîQ ]
  6. *
  7. *    COPYRIGHT  Nam  1994, All rights reserved.
  8. *
  9. *-----------------------------------------------------------------------
  10. *    V1.0L01â┐    94.07.08/Nam    âvâìâgâ^âCâv
  11. *</Header>==============================================================*/
  12. #include    <stdio.h>
  13. #include    <stdlib.h>
  14. #include    <string.h>
  15. #include    <snd.h>
  16. #include    <winb.h>
  17. #include    <te.h>
  18. #include    <fntb.h>
  19. #include    <gui.h>
  20. #include    <egb.h>
  21. #include    <msdos.cf>
  22. #include    <loader.h>
  23. #include    <math.h>
  24. #include    <io.h>
  25. #include    <guidbg.h>
  26.  
  27. #define    EIN_MEM
  28. #include    "..\eintm.h"
  29.  
  30. #ifndef NOERR
  31. #define    NOERR    (0)
  32. #endif
  33. #ifndef ERROR
  34. #define    ERROR    (1)
  35. #endif
  36.  
  37. /*<Func>================================================================
  38. *    int        EIN_checkMem()
  39. *
  40. *    üyèT  ùvüz    Ägùpë┬ö\é╚âüâéâèâTâCâYé≡ĵô╛é╖éΘ
  41. *
  42. *    üyï@  ö\üz    
  43. *
  44. *    üyôⁿ  ù═üz
  45. *
  46. *    üyÅo  ù═üz    é╚é╡
  47. *
  48. *    üyè╓ÉöÆlüz                byte
  49. *
  50. *    üyÆì  ê╙üz    
  51. *
  52. *    üyÄQ  Å╞üz    
  53. *
  54. *-----------------------------------------------------------------------
  55. *    V11L10    1994.07.08/Nam
  56. *</Func>==============================================================*/
  57. int        EIN_checkMem()
  58. {
  59.     int        pmax, lmax;
  60.     pmax = TL_checkMemory(0);
  61.     lmax = TL_checkMemory(2);
  62.     
  63.     return (((pmax<lmax) ?pmax :lmax) * 4096);
  64. }
  65.